import { Controller, Get, Param, ParseIntPipe } from "@nestjs/common";

@Controller("book")
export class BookController {
  @Get("/:id")
  getBook(@Param("id", ParseIntPipe) id: number): string {
    return `This action returns a #${id} book`;
  }
}
